//@target: ES6
var a: string, b: boolean[];
[a, ...b] = { 0: "", 1: true };